
<table border="0" cellpadding="0" cellspacing="1" bgcolor="#000000">
  <tr>
    <td>
     <object id="movie" classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" 
         codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0" 
        align="middle">
       <param name="movie" value="about:blank" />
       <param name="quality" value="high" />
     </object>
    </td>
  </tr>
</table>
  
  <script>
var total;//定义flash影片总桢数
var frame_number;//定义flash影片当前桢数
var dragapproved=false;
var z,x,y
var movie = document.getElementById('movie');
function showcount(){
    total = movie.TotalFrames;
 	frame_number=movie.CurrentFrame();
    frame_number++;
    var progressSize = 100*(frame_number/movie.TotalFrames());
    CallJava.consoleFlashProgress(progressSize);
}

//播放影片 
function Play(){
 	movie.Play();
}
//暂停播放
function Pause(){
 movie.StopPlay();
}

//开始载入flash影片
function loadSWF(fsrc,fwidth,fheight){
 movie.LoadMovie(0, fsrc);
 movie.width=fwidth;
 movie.height=fheight;
 frame_number=movie.CurrentFrame();
}
</script>
   
   <!-- <a href="javascript:CallJava.consoleFlashProgress(3)">add Progress</a>
   <a href="#" onClick="loadSWF('','testFlash.swf','800','480')">TestButton</a>  -->
    <p id="geolo"></p>
<script type="text/javascript">

  //loadSWF("testFlash.swf","800","480"); //loadSWF("flash地址","宽度","高度")
  function setFlashPath(filePath){
     var path = filePath;
     loadSWF(path,"50","50"); //loadSWF("flash地址","宽度","高度")
     //geolo.innerText = "abc: " + filePath.toString();
  }
</script>
 